<!--
 * @Author: caozaihui 15908754730@163.com
 * @Date: 2024-06-14 00:47:40
 * @LastEditors: czh 2119294696@qq.com
 * @LastEditTime: 2024-06-24 14:40:52
 * @FilePath: \YMU_forum_vue\src\views\Home\components\main\InfiniteArticle.vue
 * @Description: 首页文章列表展示
-->
<script  setup>
import ArticleCardFull from '@/components/article/ArticleCardFull.vue';
import { ref, onMounted } from 'vue';
import { getIndexTime } from '@/apis/home';

const articleList = ref([]);

onMounted(() => {
  getIndexTime().then(res => {
    articleList.value = res.data.page.list;
  });
})
</script>
<template>
  <div>
    <ArticleCardFull :articleList="articleList" />
  </div>
</template>
